Inferable Existential Quantification
نویسندگان
چکیده
Abstract interpretation is an excellent tool for designing complete dataflow analyses [6]. Existential quantification is an excellent tool for designing precise dataflow analyses. However, these two tools are difficult to combine. Abstract interpretation requires algorithms for deciding subtypes and constructing joins. This is problematic for existential quantification because simply subtyping with existential quantification is undecidable in general [17], not to mention the additional challenge of joining with existential quantification. This paper presents a category-theoretic framework for designing abstract domains for complete inference and analysis using constrained but expressive forms of existential quantification. This framework is constructive in that it supplies the abstract algorithms for deciding subtypes and constructing joins. This framework is also instructive in that it provides guidelines to follow while designing the abstract domain and existential quantification in order to guarantee inferability. Finally, the framework is practical for real-world applications, as demonstrated by its critical role in designing an inferable typed assembly language for C# [16].
منابع مشابه
A Unified Approach to Questions, Quantifiers and Coordination in Japanese
Universal/existential quantifiers can be seen as generalization of logical conjunction/disjunction. The universal (existential) quantification of an open proposition is the conjunction (disjunction) of all its possible instantiations. In other words, conjunction (disjunction) is a special kind of universal (existential) quantification where the domain of the variable is restricted to the set of...
متن کاملInhabitance of Existential Types is Decidable in Negation-Product Fragment
This paper shows the inhabitance in the lambda calculus with negation, product, and existential types is decidable. This is proved by showing existential quantification can be eliminated and reducing the problem to provability in intuitionistic propositional logic. By the same technique, this paper also shows existential quantification followed by negation can be replaced by a specific witness ...
متن کاملVariant Ownership with Existential Types
We propose an ownership types system with existential quantification of owners, similar to the existential quantification of types in models of Java wildcards. This produces a system with variant ownership types. Using explicit existential types for variance is more expressive, less ad hoc, and easier to understand and reason about than previous solutions. Furthermore, we propose using both typ...
متن کاملOn the Values of Reducibility Candidates
The straightforward elimination of union types is known to break subject reduction, and for some extensions of the lambda-calculus, to break strong normalization as well. Similarly, the straightforward elimination of implicit existential types breaks subject reduction. We propose elimination rules for union types and implicit existential quantification which use a form call-by-value issued from...
متن کاملFull operational set theory with unbounded existential quantification and power set
We study the extension OST(E,P) of Feferman’s operational set theory OST provided by adding operational versions of unbounded existential quantification and power set and determine its proof-theoretic strength in terms of a suitable theory of sets and classes.
متن کامل